package cn.juque.workflow.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>WorkflowEventNameEnum</li>
 * </ul>
 * @date 2023-01-31 19:56:37
 **/
public enum WorkflowEventNameEnum {

    /**
     * ENUM
     */
    CREATE("create", "流程启动"),
    ASSIGMENT("assigment", "流程部署"),
    COMPLETE("complete", "流程完成"),
    DELETE("delete", "流程废止"),
    START("start", "流程启动"),
    END("end", "流程结束"),
    TAKE("take", "流程执行"),
    ;
    private final String code;

    private final String label;

    WorkflowEventNameEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }
}
